﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Week3_1_Entity
{
    [Table("SKU")]
    public class SKU
    {
        [Key]
        public int Sid {  get; set; }
        public string? Scode {  get; set; }//SKU编码
        public string? GCode { get; set; }//商品编码
        public int Stock {  get; set; }//库存
        public string? Sname {  get; set; }//名称
        public string? Svalue {  get; set; }//规格名
        public string? Sdesc {  get; set; }//描述
        public string? Simg {  get; set; }//SKU图片

    }
}
